package com.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author: Zs
 * @date:2022/6/26 21:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Dept {

    private Integer did;
    private String deptName;
    private List<Emp> empList;

    @Override
    public String toString() {
        return "Dept{" +
                "did=" + did +
                ", deptName='" + deptName + '\'' +
                ", empList=" + empList +
                '}';
    }

}
